Measure only the app package in iOS SOD jobs - #5266
Open
matouskozak wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates MAUI mobile SizeOnDisk (SOD) Helix work items so that app-size metrics measure only the actual package artifacts (signed APK/IPA) plus versions.json, instead of recursively measuring an entire publish directory that may contain unrelated build outputs.
Changes:
- Android SOD work items now stage only the signed APK and
versions.jsonintopub(instead of copying the whole scenario directory). - iOS SOD work items now stage only the IPA and
versions.jsonintopub, and unpack only the staged IPA for extracted-size measurements.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| eng/performance/maui_scenarios_ios.proj | Restricts iOS SOD staging to the IPA + versions.json, and unpacks only the staged IPA for extracted-size measurement. |
| eng/performance/maui_scenarios_android.proj | Restricts Android SOD staging to the APK + versions.json, and unpacks only the staged APK for extracted-size measurement. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Stage just the IPA and version metadata for the iOS SizeOnDisk work items so publish sidecars such as binlogs and dSYM bundles are no longer reported as IPA size, and extract only Payload so the extracted metric measures the installed app bundle rather than also counting Apple's Symbols directory. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9cde6db4-052e-4355-a252-05b45b2e624e
matouskozak
force-pushed
the
matouskozak-measure-mobile-package-files
branch
from
August 5, 2026 05:54
8e640ac to
5f08406
Compare
rolfbjarne
approved these changes
Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
versions.jsonfor the iOS SizeOnDisk work itemsPayloadso the extracted metric measures the installed app bundleThis is the iOS counterpart to #5265, which made the equivalent Android change and has already merged.
Metric changes
IPA Sizenow reports exactly one file — the distributable package. Previously it also counted publish/restore binlogs and the dSYM bundles that sit beside the IPA in the publish directory, which inflated the metric by 2.5x–5.7x depending on configuration.Extracted Sizenow reports only the app bundle. Previously it also counted Apple's top-levelSymbolsdirectory, which the .NET iOS SDK adds to the IPA via_CreateIpaSymbolsfor crash symbolication but which is not part of the installed app. That directory accounted for 40–72% of the previous totals, so expect a one-time step down in this series.Both metrics keep their existing names, so the change appears as a level shift rather than a new series. Startup, memory, and build-time work items are untouched.
This also aligns the iOS scenarios with how app size is measured elsewhere: the package file for distribution size, and the
.appbundle for installed size.